// Bootstrap
//$info:          #cc544b;

$fck-color-brand:  #0065FF;
$o-gray-700: #495057 !default;
$o-gray-800: #343a40 !default;
$o-gray-900: #212529 !default;
$o-white: #FFFFFF !default;

$o-community-color: $fck-color-brand !default;

$o-brand-odoo: $o-community-color !default;
$o-brand-primary: $o-community-color !default;

$o-brand-secondary: lighten($o-community-color, 30%) !default;
$o-brand-secondary-hover: lighten($o-community-color, 20%) !default;
$o-brand-secondary-active: lighten($o-community-color, 10%) !default;

$o-brand-lightsecondary: #E6FAFF !default;

$o-component-active-color: #0051CC !default;
//$o-component-active-bg: mix($o-action, $o-gray-100, 20%) !default;
//$o-component-active-border: $o-action !default;

// == Buttons
// Map of customized values for each button. If a button's design is defined
// here, the relative values will take priority over default BS ones.
// Notice: each map's entry is passed directly to the Bootstrap mixin, meaning
// that all states must be defined, there can't be omissions.
$o-btns-bs-override: () !default;
$o-btns-bs-override: map-merge((
    "primary": (
        background: $o-community-color,
        border: $o-community-color,
        color: $o-white,

        hover-background: #005BE6,
        hover-border: #005BE6,
        hover-color: $o-white,

        active-background: #0051CC,
        active-border: #0051CC,
        active-color: $o-white,
    ),
    "secondary": (
        background:  $o-brand-secondary,
        border:  $o-brand-secondary,
        color: $o-gray-800,

        hover-background: $o-brand-secondary-hover,
        hover-border: $o-brand-secondary-hover,
        hover-color: $o-gray-900,

        active-background: $o-brand-secondary-active,
        active-border: $o-brand-secondary-active,
        active-color: $o-component-active-color,
    ),
    "light": (
        background: #E6F0FF,
        border: #E6F0FF,
        color: $o-gray-700,

        hover-background: #D9E8FF,
        hover-border: #D9E8FF,
        hover-color: $o-gray-900,

        active-background: #B0CFFF,
        active-border:  #B0CFFF,
        active-color: $o-component-active-color,
    ),
), $o-btns-bs-override);

$o-btns-bs-outline-override: () !default;
$o-btns-bs-outline-override: map-merge((
    "secondary": (
        background: $o-brand-secondary,
        border: $o-brand-secondary,
        color: $o-gray-700,

        hover-background: $o-brand-secondary-hover,
        hover-border: $o-brand-secondary-active,
        hover-color: $o-gray-800,

        active-background: $o-brand-secondary-hover,
        active-border:  $o-brand-secondary-active,
        active-color: $o-component-active-color,
    ),
), $o-btns-bs-outline-override);

